﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Interface ISessionManager
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Interface ISessionManager
   ">
    <meta name="generator" content="docfx 2.59.2.0">
    
    <link rel="shortcut icon" href="../../favicon.ico">
    <link rel="stylesheet" href="../../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../../styles/docfx.css">
    <link rel="stylesheet" href="../../styles/main.css">
    <link rel="stylesheet" href="../../styles/socialbar.css">
    <link rel="stylesheet" href="../../styles/header.css">
    <link rel="stylesheet" href="../../styles/version.css">
    <link href="https://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700,100italic,300italic,400italic" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <meta property="docfx:navrel" content="../../toc.html">
    <meta property="docfx:tocrel" content="../toc.html">
    <meta property="docfx:uid" content="MediaBrowser.Controller.Session.ISessionManager">
    
    <meta property="docfx:rel" content="../../">
    
    <script type="text/javascript" src="../../nav.js"></script>
    <script type="text/javascript" src="../toc.js"></script>
  
  </head>  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <div class="mb-socials-heading" style="height: 40px;">
        	<div class="mb-socials-heading-inner container">
        		<div class="mb-socials-heading-right">
        			<div class="mb-socials-list">
                          
        				<div class="mb-socials-item facebook">
        					<a class="mb-socials-item-link" target="_blank" href="https://facebook.com/embyapp"></a>
        					<div class="mb-socials-item-popup">
        						<span>Facebook</span>
        					</div>
        				</div><div class="mb-socials-item twitter">
        					<a class="mb-socials-item-link" target="_blank" href="https://twitter.com/embyapp"></a>
        					<div class="mb-socials-item-popup">
        						<span>Twitter</span>
        					</div>
        				</div>
        				<div class="mb-socials-item pinterest">
        					<a class="mb-socials-item-link" target="_blank" href="https://www.pinterest.com/emby0240/emby-news/"></a>
        					<div class="mb-socials-item-popup">
        						<span>Pinterest</span>
        					</div>
        				</div>
        				<div class="mb-socials-item tumblr">
        					<a class="mb-socials-item-link" target="_blank" href="https://embyapp.tumblr.com/"></a>
        					<div class="mb-socials-item-popup">
        						<span>Tumblr</span>
        					</div>
        				</div>
        				<div class="mb-socials-item github">
        					<a class="mb-socials-item-link" target="_blank" href="https://github.com/MediaBrowser"></a>
        					<div class="mb-socials-item-popup">
        						<span>GitHub</span>
        					</div>
        				</div><div class="mb-socials-item rss">
        					<a class="mb-socials-item-link" target="_blank" href="https://emby.media/blog.xml"></a>
        					<div class="mb-socials-item-popup">
        						<span>RSS</span>
        					</div>
        				</div>
                          
        			</div>
        		</div>
        	</div>
        </div>
        <div class="container">
        	<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
        		  
        		  <a class="navbar-brand" href="../../index.html">
        		    <img id="logo" class="svg" src="../../images/emby_dev_logo.png" alt="">
        		  </a>
        		  <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
        			<span class="sr-only">Toggle navigation</span>
        			<span class="icon-bar"></span>
        			<span class="icon-bar"></span>
        			<span class="icon-bar"></span>
        		  </button>
        		<div class="collapse navbar-collapse" id="navbar">
        			
        			<ul class="nav level1 navbar-nav">
        			      <li class="nav-item">
        			          <a class="nav-link" href="../../index.html" title="DEV Home">DEV Home</a>
        			      </li>
        			      <li class="nav-item">
        			          <a class="nav-link" href="../../doc/index.html" title="Documentation">Documentation</a>
        			      </li>
        			      <li class="nav-item">
        			          <a class="nav-link" href="../../reference/index.html" title="Reference">Reference</a>
        			      </li>
        			      <li class="nav-item">
        			          <a class="nav-link" href="../../download/index.html" title="Download">Download</a>
        			      </li>
        			</ul>		</div>
        	</nav>
        </div>
        <div class="nav-overlay d-none"></div>        
        <div class="subnav navbar navbar-default">
          <div class="container">
            <div class="hide-when-search" id="breadcrumb">
        	  <ul class="breadcrumb">
        		<li></li>
        	  </ul>
        	</div>
        
        	<div class="breadcrumpsearch">
        	  <form class="navbar-form navbar-right" role="search" id="search">
        		<div class="form-group">
        		  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
        		</div>
        	  </form>
        	</div>
          </div>
        </div>
      </header>
      <div class="container body-content">
        
        <div id="search-results">
          <div class="search-list">Search Results for <span></span></div>
          <div class="sr-items">
            <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
          </div>
          <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
        </div>
      </div>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="MediaBrowser.Controller.Session.ISessionManager">
<div class="refdoc">
  
  
  <h1 id="MediaBrowser_Controller_Session_ISessionManager" data-uid="MediaBrowser.Controller.Session.ISessionManager" class="text-break">Interface ISessionManager
  </h1>
  <div class="markdown level0 summary"><p>Interface ISessionManager</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="MediaBrowser.Controller.Session.html">MediaBrowser.Controller.Session</a></h6>
  <h6><strong>Assembly</strong>: MediaBrowser.Controller.dll</h6>
  <h5 id="MediaBrowser_Controller_Session_ISessionManager_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ISessionManager</code></pre>
  </div>
  <h3 id="properties">Properties
  </h3>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_Sessions_" data-uid="MediaBrowser.Controller.Session.ISessionManager.Sessions*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_Sessions" data-uid="MediaBrowser.Controller.Session.ISessionManager.Sessions">Sessions</h4>
  <div class="markdown level1 summary"><p>Gets the sessions.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">IEnumerable&lt;SessionInfo&gt; Sessions { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="MediaBrowser.Controller.Session.SessionInfo.html">SessionInfo</a>&gt;</td>
        <td><p>The sessions.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
  </h3>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_AddAdditionalUser_" data-uid="MediaBrowser.Controller.Session.ISessionManager.AddAdditionalUser*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_AddAdditionalUser_System_String_System_Int64_" data-uid="MediaBrowser.Controller.Session.ISessionManager.AddAdditionalUser(System.String,System.Int64)">AddAdditionalUser(String, Int64)</h4>
  <div class="markdown level1 summary"><p>Adds the additional user.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void AddAdditionalUser(string sessionId, long userId)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">sessionId</span></td>
        <td><p>The session identifier.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int64</span></td>
        <td><span class="parametername">userId</span></td>
        <td><p>The user identifier.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_AuthenticateNewSession_" data-uid="MediaBrowser.Controller.Session.ISessionManager.AuthenticateNewSession*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_AuthenticateNewSession_MediaBrowser_Controller_Session_AuthenticationRequest_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Session.ISessionManager.AuthenticateNewSession(MediaBrowser.Controller.Session.AuthenticationRequest,System.Threading.CancellationToken)">AuthenticateNewSession(AuthenticationRequest, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Authenticates the new session.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task&lt;AuthenticationResult&gt; AuthenticateNewSession(AuthenticationRequest request, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Session.AuthenticationRequest.html">AuthenticationRequest</a></td>
        <td><span class="parametername">request</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="MediaBrowser.Controller.Authentication.AuthenticationResult.html">AuthenticationResult</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_ClearTranscodingInfo_" data-uid="MediaBrowser.Controller.Session.ISessionManager.ClearTranscodingInfo*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_ClearTranscodingInfo_System_String_System_String_" data-uid="MediaBrowser.Controller.Session.ISessionManager.ClearTranscodingInfo(System.String,System.String)">ClearTranscodingInfo(String, String)</h4>
  <div class="markdown level1 summary"><p>Clears the transcoding information.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void ClearTranscodingInfo(string reportedDeviceId, string playSessionId)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">reportedDeviceId</span></td>
        <td><p>The device identifier.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">playSessionId</span></td>
        <td><p>The play session identifier.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_CloseIfNeeded_" data-uid="MediaBrowser.Controller.Session.ISessionManager.CloseIfNeeded*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_CloseIfNeeded_MediaBrowser_Controller_Session_SessionInfo_" data-uid="MediaBrowser.Controller.Session.ISessionManager.CloseIfNeeded(MediaBrowser.Controller.Session.SessionInfo)">CloseIfNeeded(SessionInfo)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void CloseIfNeeded(SessionInfo session)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Session.SessionInfo.html">SessionInfo</a></td>
        <td><span class="parametername">session</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_CreateNewSession_" data-uid="MediaBrowser.Controller.Session.ISessionManager.CreateNewSession*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_CreateNewSession_MediaBrowser_Controller_Session_AuthenticationRequest_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Session.ISessionManager.CreateNewSession(MediaBrowser.Controller.Session.AuthenticationRequest,System.Threading.CancellationToken)">CreateNewSession(AuthenticationRequest, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Creates the new session.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task&lt;AuthenticationResult&gt; CreateNewSession(AuthenticationRequest request, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Session.AuthenticationRequest.html">AuthenticationRequest</a></td>
        <td><span class="parametername">request</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1">Task</a>&lt;<a class="xref" href="MediaBrowser.Controller.Authentication.AuthenticationResult.html">AuthenticationResult</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_GetSession_" data-uid="MediaBrowser.Controller.Session.ISessionManager.GetSession*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_GetSession_System_String_System_String_System_String_" data-uid="MediaBrowser.Controller.Session.ISessionManager.GetSession(System.String,System.String,System.String)">GetSession(String, String, String)</h4>
  <div class="markdown level1 summary"><p>Gets the session.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">SessionInfo GetSession(string reportedDeviceId, string client, string version)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">reportedDeviceId</span></td>
        <td><p>The device identifier.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">client</span></td>
        <td><p>The client.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">version</span></td>
        <td><p>The version.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Session.SessionInfo.html">SessionInfo</a></td>
        <td><p>SessionInfo.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_GetSessionByAuthenticationToken_" data-uid="MediaBrowser.Controller.Session.ISessionManager.GetSessionByAuthenticationToken*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_GetSessionByAuthenticationToken_MediaBrowser_Controller_Security_AuthenticationInfo_System_String_System_Net_IPAddress_System_String_System_String_" data-uid="MediaBrowser.Controller.Session.ISessionManager.GetSessionByAuthenticationToken(MediaBrowser.Controller.Security.AuthenticationInfo,System.String,System.Net.IPAddress,System.String,System.String)">GetSessionByAuthenticationToken(AuthenticationInfo, String, IPAddress, String, String)</h4>
  <div class="markdown level1 summary"><p>Gets the session by authentication token.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">SessionInfo GetSessionByAuthenticationToken(AuthenticationInfo info, string reportedDeviceId, IPAddress remoteAddress, string protocol, string appVersion)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Security.AuthenticationInfo.html">AuthenticationInfo</a></td>
        <td><span class="parametername">info</span></td>
        <td><p>The information.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">reportedDeviceId</span></td>
        <td><p>The device identifier.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.net.ipaddress">IPAddress</a></td>
        <td><span class="parametername">remoteAddress</span></td>
        <td><p>The remote endpoint.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">protocol</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">appVersion</span></td>
        <td><p>The application version.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Session.SessionInfo.html">SessionInfo</a></td>
        <td><p>Task&lt;SessionInfo&gt;.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_GetSessionByAuthenticationToken_" data-uid="MediaBrowser.Controller.Session.ISessionManager.GetSessionByAuthenticationToken*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_GetSessionByAuthenticationToken_System_String_System_String_System_Net_IPAddress_System_String_" data-uid="MediaBrowser.Controller.Session.ISessionManager.GetSessionByAuthenticationToken(System.String,System.String,System.Net.IPAddress,System.String)">GetSessionByAuthenticationToken(String, String, IPAddress, String)</h4>
  <div class="markdown level1 summary"><p>Gets the session by authentication token.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">SessionInfo GetSessionByAuthenticationToken(string token, string reportedDeviceId, IPAddress remoteAddress, string protocol)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">token</span></td>
        <td><p>The token.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">reportedDeviceId</span></td>
        <td><p>The device identifier.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.net.ipaddress">IPAddress</a></td>
        <td><span class="parametername">remoteAddress</span></td>
        <td><p>The remote endpoint.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">protocol</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Session.SessionInfo.html">SessionInfo</a></td>
        <td><p>SessionInfo.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_Logout_" data-uid="MediaBrowser.Controller.Session.ISessionManager.Logout*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_Logout_MediaBrowser_Controller_Security_AuthenticationInfo_" data-uid="MediaBrowser.Controller.Session.ISessionManager.Logout(MediaBrowser.Controller.Security.AuthenticationInfo)">Logout(AuthenticationInfo)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void Logout(AuthenticationInfo authenticationInfo)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Security.AuthenticationInfo.html">AuthenticationInfo</a></td>
        <td><span class="parametername">authenticationInfo</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_Logout_" data-uid="MediaBrowser.Controller.Session.ISessionManager.Logout*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_Logout_System_String_" data-uid="MediaBrowser.Controller.Session.ISessionManager.Logout(System.String)">Logout(String)</h4>
  <div class="markdown level1 summary"><p>Logouts the specified access token.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void Logout(string accessToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">accessToken</span></td>
        <td><p>The access token.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_LogSessionActivity_" data-uid="MediaBrowser.Controller.Session.ISessionManager.LogSessionActivity*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_LogSessionActivity_System_String_System_String_System_Int64_System_String_System_String_System_Net_IPAddress_System_String_MediaBrowser_Controller_Entities_User_" data-uid="MediaBrowser.Controller.Session.ISessionManager.LogSessionActivity(System.String,System.String,System.Int64,System.String,System.String,System.Net.IPAddress,System.String,MediaBrowser.Controller.Entities.User)">LogSessionActivity(String, String, Int64, String, String, IPAddress, String, User)</h4>
  <div class="markdown level1 summary"><p>Logs the user activity.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">SessionInfo LogSessionActivity(string appName, string appVersion, long deviceId, string reportedDeviceId, string deviceName, IPAddress remoteAddress, string protocol, User user)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">appName</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">appVersion</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Int64</span></td>
        <td><span class="parametername">deviceId</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">reportedDeviceId</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">deviceName</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.net.ipaddress">IPAddress</a></td>
        <td><span class="parametername">remoteAddress</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">protocol</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Entities.User.html">User</a></td>
        <td><span class="parametername">user</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Session.SessionInfo.html">SessionInfo</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_LogSessionActivity_" data-uid="MediaBrowser.Controller.Session.ISessionManager.LogSessionActivity*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_LogSessionActivity_System_String_System_String_System_String_System_String_System_String_MediaBrowser_Controller_Entities_User_" data-uid="MediaBrowser.Controller.Session.ISessionManager.LogSessionActivity(System.String,System.String,System.String,System.String,System.String,MediaBrowser.Controller.Entities.User)">LogSessionActivity(String, String, String, String, String, User)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">SessionInfo LogSessionActivity(string appName, string appVersion, string reportedDeviceId, string deviceName, string remoteAddress, User user)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">appName</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">appVersion</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">reportedDeviceId</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">deviceName</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">remoteAddress</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Entities.User.html">User</a></td>
        <td><span class="parametername">user</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Session.SessionInfo.html">SessionInfo</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_OnPlaybackProgress_" data-uid="MediaBrowser.Controller.Session.ISessionManager.OnPlaybackProgress*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_OnPlaybackProgress_MediaBrowser_Model_Session_PlaybackProgressInfo_" data-uid="MediaBrowser.Controller.Session.ISessionManager.OnPlaybackProgress(MediaBrowser.Model.Session.PlaybackProgressInfo)">OnPlaybackProgress(PlaybackProgressInfo)</h4>
  <div class="markdown level1 summary"><p>Used to report playback progress for an item</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task OnPlaybackProgress(PlaybackProgressInfo info)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Session.PlaybackProgressInfo.html">PlaybackProgressInfo</a></td>
        <td><span class="parametername">info</span></td>
        <td><p>The info.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td><p>Task.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_OnPlaybackProgress_" data-uid="MediaBrowser.Controller.Session.ISessionManager.OnPlaybackProgress*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_OnPlaybackProgress_MediaBrowser_Model_Session_PlaybackProgressInfo_MediaBrowser_Controller_Session_SessionInfo_" data-uid="MediaBrowser.Controller.Session.ISessionManager.OnPlaybackProgress(MediaBrowser.Model.Session.PlaybackProgressInfo,MediaBrowser.Controller.Session.SessionInfo)">OnPlaybackProgress(PlaybackProgressInfo, SessionInfo)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task OnPlaybackProgress(PlaybackProgressInfo info, SessionInfo sessionInfo)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Session.PlaybackProgressInfo.html">PlaybackProgressInfo</a></td>
        <td><span class="parametername">info</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Session.SessionInfo.html">SessionInfo</a></td>
        <td><span class="parametername">sessionInfo</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_OnPlaybackProgress_" data-uid="MediaBrowser.Controller.Session.ISessionManager.OnPlaybackProgress*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_OnPlaybackProgress_MediaBrowser_Model_Session_PlaybackProgressInfo_MediaBrowser_Controller_Session_SessionInfo_MediaBrowser_Controller_Session_PlaySessionInfo_System_Boolean_" data-uid="MediaBrowser.Controller.Session.ISessionManager.OnPlaybackProgress(MediaBrowser.Model.Session.PlaybackProgressInfo,MediaBrowser.Controller.Session.SessionInfo,MediaBrowser.Controller.Session.PlaySessionInfo,System.Boolean)">OnPlaybackProgress(PlaybackProgressInfo, SessionInfo, PlaySessionInfo, Boolean)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task OnPlaybackProgress(PlaybackProgressInfo info, SessionInfo sessionInfo, PlaySessionInfo playSessionInfo, bool isAutomated)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Session.PlaybackProgressInfo.html">PlaybackProgressInfo</a></td>
        <td><span class="parametername">info</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Session.SessionInfo.html">SessionInfo</a></td>
        <td><span class="parametername">sessionInfo</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Session.PlaySessionInfo.html">PlaySessionInfo</a></td>
        <td><span class="parametername">playSessionInfo</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">Boolean</a></td>
        <td><span class="parametername">isAutomated</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_OnPlaybackStart_" data-uid="MediaBrowser.Controller.Session.ISessionManager.OnPlaybackStart*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_OnPlaybackStart_MediaBrowser_Model_Session_PlaybackStartInfo_" data-uid="MediaBrowser.Controller.Session.ISessionManager.OnPlaybackStart(MediaBrowser.Model.Session.PlaybackStartInfo)">OnPlaybackStart(PlaybackStartInfo)</h4>
  <div class="markdown level1 summary"><p>Used to report that playback has started for an item</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task OnPlaybackStart(PlaybackStartInfo info)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Session.PlaybackStartInfo.html">PlaybackStartInfo</a></td>
        <td><span class="parametername">info</span></td>
        <td><p>The info.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td><p>Task.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_OnPlaybackStart_" data-uid="MediaBrowser.Controller.Session.ISessionManager.OnPlaybackStart*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_OnPlaybackStart_MediaBrowser_Model_Session_PlaybackStartInfo_MediaBrowser_Controller_Session_SessionInfo_" data-uid="MediaBrowser.Controller.Session.ISessionManager.OnPlaybackStart(MediaBrowser.Model.Session.PlaybackStartInfo,MediaBrowser.Controller.Session.SessionInfo)">OnPlaybackStart(PlaybackStartInfo, SessionInfo)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task OnPlaybackStart(PlaybackStartInfo info, SessionInfo sessionInfo)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Session.PlaybackStartInfo.html">PlaybackStartInfo</a></td>
        <td><span class="parametername">info</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Session.SessionInfo.html">SessionInfo</a></td>
        <td><span class="parametername">sessionInfo</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_OnPlaybackStopped_" data-uid="MediaBrowser.Controller.Session.ISessionManager.OnPlaybackStopped*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_OnPlaybackStopped_MediaBrowser_Model_Session_PlaybackStopInfo_" data-uid="MediaBrowser.Controller.Session.ISessionManager.OnPlaybackStopped(MediaBrowser.Model.Session.PlaybackStopInfo)">OnPlaybackStopped(PlaybackStopInfo)</h4>
  <div class="markdown level1 summary"><p>Used to report that playback has ended for an item</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task OnPlaybackStopped(PlaybackStopInfo info)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Session.PlaybackStopInfo.html">PlaybackStopInfo</a></td>
        <td><span class="parametername">info</span></td>
        <td><p>The info.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td><p>Task.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_OnPlaybackStopped_" data-uid="MediaBrowser.Controller.Session.ISessionManager.OnPlaybackStopped*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_OnPlaybackStopped_MediaBrowser_Model_Session_PlaybackStopInfo_MediaBrowser_Controller_Session_SessionInfo_" data-uid="MediaBrowser.Controller.Session.ISessionManager.OnPlaybackStopped(MediaBrowser.Model.Session.PlaybackStopInfo,MediaBrowser.Controller.Session.SessionInfo)">OnPlaybackStopped(PlaybackStopInfo, SessionInfo)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task OnPlaybackStopped(PlaybackStopInfo info, SessionInfo sessionInfo)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Session.PlaybackStopInfo.html">PlaybackStopInfo</a></td>
        <td><span class="parametername">info</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Session.SessionInfo.html">SessionInfo</a></td>
        <td><span class="parametername">sessionInfo</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_OnPlaybackStopped_" data-uid="MediaBrowser.Controller.Session.ISessionManager.OnPlaybackStopped*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_OnPlaybackStopped_MediaBrowser_Model_Session_PlaybackStopInfo_MediaBrowser_Controller_Session_SessionInfo_MediaBrowser_Controller_Session_PlaySessionInfo_" data-uid="MediaBrowser.Controller.Session.ISessionManager.OnPlaybackStopped(MediaBrowser.Model.Session.PlaybackStopInfo,MediaBrowser.Controller.Session.SessionInfo,MediaBrowser.Controller.Session.PlaySessionInfo)">OnPlaybackStopped(PlaybackStopInfo, SessionInfo, PlaySessionInfo)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task OnPlaybackStopped(PlaybackStopInfo info, SessionInfo sessionInfo, PlaySessionInfo playSessionInfo)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Session.PlaybackStopInfo.html">PlaybackStopInfo</a></td>
        <td><span class="parametername">info</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Session.SessionInfo.html">SessionInfo</a></td>
        <td><span class="parametername">sessionInfo</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Session.PlaySessionInfo.html">PlaySessionInfo</a></td>
        <td><span class="parametername">playSessionInfo</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_PingSession_" data-uid="MediaBrowser.Controller.Session.ISessionManager.PingSession*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_PingSession_System_String_System_String_" data-uid="MediaBrowser.Controller.Session.ISessionManager.PingSession(System.String,System.String)">PingSession(String, String)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void PingSession(string reportedDeviceId, string playSessionId)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">reportedDeviceId</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">playSessionId</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_RegisterPlaySession_" data-uid="MediaBrowser.Controller.Session.ISessionManager.RegisterPlaySession*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_RegisterPlaySession_MediaBrowser_Model_Session_PlaybackStartInfo_MediaBrowser_Controller_Session_SessionInfo_" data-uid="MediaBrowser.Controller.Session.ISessionManager.RegisterPlaySession(MediaBrowser.Model.Session.PlaybackStartInfo,MediaBrowser.Controller.Session.SessionInfo)">RegisterPlaySession(PlaybackStartInfo, SessionInfo)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void RegisterPlaySession(PlaybackStartInfo info, SessionInfo session)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Session.PlaybackStartInfo.html">PlaybackStartInfo</a></td>
        <td><span class="parametername">info</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Session.SessionInfo.html">SessionInfo</a></td>
        <td><span class="parametername">session</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_RemoveAdditionalUser_" data-uid="MediaBrowser.Controller.Session.ISessionManager.RemoveAdditionalUser*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_RemoveAdditionalUser_System_String_System_Int64_" data-uid="MediaBrowser.Controller.Session.ISessionManager.RemoveAdditionalUser(System.String,System.Int64)">RemoveAdditionalUser(String, Int64)</h4>
  <div class="markdown level1 summary"><p>Removes the additional user.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void RemoveAdditionalUser(string sessionId, long userId)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">sessionId</span></td>
        <td><p>The session identifier.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int64</span></td>
        <td><span class="parametername">userId</span></td>
        <td><p>The user identifier.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_ReportCapabilities_" data-uid="MediaBrowser.Controller.Session.ISessionManager.ReportCapabilities*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_ReportCapabilities_MediaBrowser_Controller_Session_SessionInfo_MediaBrowser_Model_Session_ClientCapabilities_" data-uid="MediaBrowser.Controller.Session.ISessionManager.ReportCapabilities(MediaBrowser.Controller.Session.SessionInfo,MediaBrowser.Model.Session.ClientCapabilities)">ReportCapabilities(SessionInfo, ClientCapabilities)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void ReportCapabilities(SessionInfo session, ClientCapabilities capabilities)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Session.SessionInfo.html">SessionInfo</a></td>
        <td><span class="parametername">session</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Session.ClientCapabilities.html">ClientCapabilities</a></td>
        <td><span class="parametername">capabilities</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_ReportCapabilities_" data-uid="MediaBrowser.Controller.Session.ISessionManager.ReportCapabilities*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_ReportCapabilities_System_String_MediaBrowser_Model_Session_ClientCapabilities_" data-uid="MediaBrowser.Controller.Session.ISessionManager.ReportCapabilities(System.String,MediaBrowser.Model.Session.ClientCapabilities)">ReportCapabilities(String, ClientCapabilities)</h4>
  <div class="markdown level1 summary"><p>Reports the capabilities.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void ReportCapabilities(string sessionId, ClientCapabilities capabilities)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">sessionId</span></td>
        <td><p>The session identifier.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Session.ClientCapabilities.html">ClientCapabilities</a></td>
        <td><span class="parametername">capabilities</span></td>
        <td><p>The capabilities.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_ReportNowViewingItem_" data-uid="MediaBrowser.Controller.Session.ISessionManager.ReportNowViewingItem*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_ReportNowViewingItem_System_String_MediaBrowser_Model_Dto_BaseItemDto_" data-uid="MediaBrowser.Controller.Session.ISessionManager.ReportNowViewingItem(System.String,MediaBrowser.Model.Dto.BaseItemDto)">ReportNowViewingItem(String, BaseItemDto)</h4>
  <div class="markdown level1 summary"><p>Reports the now viewing item.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void ReportNowViewingItem(string sessionId, BaseItemDto item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">sessionId</span></td>
        <td><p>The session identifier.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Dto.BaseItemDto.html">BaseItemDto</a></td>
        <td><span class="parametername">item</span></td>
        <td><p>The item.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_ReportNowViewingItem_" data-uid="MediaBrowser.Controller.Session.ISessionManager.ReportNowViewingItem*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_ReportNowViewingItem_System_String_System_String_" data-uid="MediaBrowser.Controller.Session.ISessionManager.ReportNowViewingItem(System.String,System.String)">ReportNowViewingItem(String, String)</h4>
  <div class="markdown level1 summary"><p>Reports the now viewing item.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void ReportNowViewingItem(string sessionId, string itemId)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">sessionId</span></td>
        <td><p>The session identifier.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">itemId</span></td>
        <td><p>The item identifier.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_ReportRemoteControlDisconnectedIfNeeded_" data-uid="MediaBrowser.Controller.Session.ISessionManager.ReportRemoteControlDisconnectedIfNeeded*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_ReportRemoteControlDisconnectedIfNeeded_MediaBrowser_Controller_Session_SessionInfo_" data-uid="MediaBrowser.Controller.Session.ISessionManager.ReportRemoteControlDisconnectedIfNeeded(MediaBrowser.Controller.Session.SessionInfo)">ReportRemoteControlDisconnectedIfNeeded(SessionInfo)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void ReportRemoteControlDisconnectedIfNeeded(SessionInfo session)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="MediaBrowser.Controller.Session.SessionInfo.html">SessionInfo</a></td>
        <td><span class="parametername">session</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_ReportSessionEnded_" data-uid="MediaBrowser.Controller.Session.ISessionManager.ReportSessionEnded*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_ReportSessionEnded_System_String_" data-uid="MediaBrowser.Controller.Session.ISessionManager.ReportSessionEnded(System.String)">ReportSessionEnded(String)</h4>
  <div class="markdown level1 summary"><p>Reports the session ended.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void ReportSessionEnded(string sessionId)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">sessionId</span></td>
        <td><p>The session identifier.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_ReportTranscodingInfo_" data-uid="MediaBrowser.Controller.Session.ISessionManager.ReportTranscodingInfo*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_ReportTranscodingInfo_System_String_System_String_MediaBrowser_Model_Session_TranscodingInfo_" data-uid="MediaBrowser.Controller.Session.ISessionManager.ReportTranscodingInfo(System.String,System.String,MediaBrowser.Model.Session.TranscodingInfo)">ReportTranscodingInfo(String, String, TranscodingInfo)</h4>
  <div class="markdown level1 summary"><p>Reports the transcoding information.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void ReportTranscodingInfo(string reportedDeviceId, string playSessionId, TranscodingInfo info)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">reportedDeviceId</span></td>
        <td><p>The device identifier.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">playSessionId</span></td>
        <td><p>The play session identifier.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Session.TranscodingInfo.html">TranscodingInfo</a></td>
        <td><span class="parametername">info</span></td>
        <td><p>The information.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_RevokeToken_" data-uid="MediaBrowser.Controller.Session.ISessionManager.RevokeToken*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_RevokeToken_System_String_" data-uid="MediaBrowser.Controller.Session.ISessionManager.RevokeToken(System.String)">RevokeToken(String)</h4>
  <div class="markdown level1 summary"><p>Revokes the token.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void RevokeToken(string id)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">id</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_RevokeUserTokens_" data-uid="MediaBrowser.Controller.Session.ISessionManager.RevokeUserTokens*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_RevokeUserTokens_System_Int64_System_String_" data-uid="MediaBrowser.Controller.Session.ISessionManager.RevokeUserTokens(System.Int64,System.String)">RevokeUserTokens(Int64, String)</h4>
  <div class="markdown level1 summary"><p>Revokes the user tokens.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void RevokeUserTokens(long userId, string currentAccessToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int64</span></td>
        <td><span class="parametername">userId</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">currentAccessToken</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_SendBrowseCommand_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendBrowseCommand*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_SendBrowseCommand_System_String_System_String_MediaBrowser_Model_Session_BrowseRequest_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendBrowseCommand(System.String,System.String,MediaBrowser.Model.Session.BrowseRequest,System.Threading.CancellationToken)">SendBrowseCommand(String, String, BrowseRequest, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Sends the browse command.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task SendBrowseCommand(string controllingSessionId, string sessionId, BrowseRequest command, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">controllingSessionId</span></td>
        <td><p>The controlling session identifier.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">sessionId</span></td>
        <td><p>The session id.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Session.BrowseRequest.html">BrowseRequest</a></td>
        <td><span class="parametername">command</span></td>
        <td><p>The command.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td><p>The cancellation token.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td><p>Task.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_SendGeneralCommand_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendGeneralCommand*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_SendGeneralCommand_System_String_System_String_MediaBrowser_Model_Session_GeneralCommand_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendGeneralCommand(System.String,System.String,MediaBrowser.Model.Session.GeneralCommand,System.Threading.CancellationToken)">SendGeneralCommand(String, String, GeneralCommand, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Sends the general command.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task SendGeneralCommand(string controllingSessionId, string sessionId, GeneralCommand command, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">controllingSessionId</span></td>
        <td><p>The controlling session identifier.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">sessionId</span></td>
        <td><p>The session identifier.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Session.GeneralCommand.html">GeneralCommand</a></td>
        <td><span class="parametername">command</span></td>
        <td><p>The command.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td><p>The cancellation token.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td><p>Task.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_SendMessageCommand_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendMessageCommand*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_SendMessageCommand_System_String_System_String_MediaBrowser_Model_Session_MessageCommand_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendMessageCommand(System.String,System.String,MediaBrowser.Model.Session.MessageCommand,System.Threading.CancellationToken)">SendMessageCommand(String, String, MessageCommand, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Sends the message command.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task SendMessageCommand(string controllingSessionId, string sessionId, MessageCommand command, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">controllingSessionId</span></td>
        <td><p>The controlling session identifier.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">sessionId</span></td>
        <td><p>The session id.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Session.MessageCommand.html">MessageCommand</a></td>
        <td><span class="parametername">command</span></td>
        <td><p>The command.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td><p>The cancellation token.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td><p>Task.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_SendMessageToAdminSessions_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendMessageToAdminSessions*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_SendMessageToAdminSessions__1_System_String___0_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendMessageToAdminSessions``1(System.String,``0,System.Threading.CancellationToken)">SendMessageToAdminSessions&lt;T&gt;(String, T, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Sends the message to admin sessions.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task SendMessageToAdminSessions&lt;T&gt;(string name, T data, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">name</span></td>
        <td><p>The name.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">data</span></td>
        <td><p>The data.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td><p>The cancellation token.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td><p>Task.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_SendMessageToUserDeviceAndAdminSessions_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendMessageToUserDeviceAndAdminSessions*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_SendMessageToUserDeviceAndAdminSessions__1_System_String_System_String___0_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendMessageToUserDeviceAndAdminSessions``1(System.String,System.String,``0,System.Threading.CancellationToken)">SendMessageToUserDeviceAndAdminSessions&lt;T&gt;(String, String, T, CancellationToken)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task SendMessageToUserDeviceAndAdminSessions&lt;T&gt;(string reportedDeviceId, string name, T data, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">reportedDeviceId</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">name</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">data</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_SendMessageToUserDeviceSessions_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendMessageToUserDeviceSessions*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_SendMessageToUserDeviceSessions__1_System_String_System_String___0_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendMessageToUserDeviceSessions``1(System.String,System.String,``0,System.Threading.CancellationToken)">SendMessageToUserDeviceSessions&lt;T&gt;(String, String, T, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Sends the message to user device sessions.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task SendMessageToUserDeviceSessions&lt;T&gt;(string reportedDeviceId, string name, T data, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">reportedDeviceId</span></td>
        <td><p>The device identifier.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">name</span></td>
        <td><p>The name.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">data</span></td>
        <td><p>The data.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td><p>The cancellation token.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td><p>Task.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_SendMessageToUserSessions_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendMessageToUserSessions*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_SendMessageToUserSessions__1_System_Int64___System_String___0_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendMessageToUserSessions``1(System.Int64[],System.String,``0,System.Threading.CancellationToken)">SendMessageToUserSessions&lt;T&gt;(Int64[], String, T, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Sends the message to user sessions.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task SendMessageToUserSessions&lt;T&gt;(long[] userIds, string name, T data, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int64</span>[]</td>
        <td><span class="parametername">userIds</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">name</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">T</span></td>
        <td><span class="parametername">data</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td><p>Task.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_SendMessageToUserSessions_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendMessageToUserSessions*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_SendMessageToUserSessions__1_System_Int64___System_String_System_Func___0__System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendMessageToUserSessions``1(System.Int64[],System.String,System.Func{``0},System.Threading.CancellationToken)">SendMessageToUserSessions&lt;T&gt;(Int64[], String, Func&lt;T&gt;, CancellationToken)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task SendMessageToUserSessions&lt;T&gt;(long[] userIds, string name, Func&lt;T&gt; dataFn, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int64</span>[]</td>
        <td><span class="parametername">userIds</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">name</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;T&gt;</td>
        <td><span class="parametername">dataFn</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_SendPlayCommand_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendPlayCommand*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_SendPlayCommand_System_String_System_String_MediaBrowser_Model_Session_PlayRequest_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendPlayCommand(System.String,System.String,MediaBrowser.Model.Session.PlayRequest,System.Threading.CancellationToken)">SendPlayCommand(String, String, PlayRequest, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Sends the play command.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task SendPlayCommand(string controllingSessionId, string sessionId, PlayRequest command, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">controllingSessionId</span></td>
        <td><p>The controlling session identifier.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">sessionId</span></td>
        <td><p>The session id.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Session.PlayRequest.html">PlayRequest</a></td>
        <td><span class="parametername">command</span></td>
        <td><p>The command.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td><p>The cancellation token.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td><p>Task.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_SendPlaystateCommand_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendPlaystateCommand*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_SendPlaystateCommand_System_String_System_String_MediaBrowser_Model_Session_PlaystateRequest_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendPlaystateCommand(System.String,System.String,MediaBrowser.Model.Session.PlaystateRequest,System.Threading.CancellationToken)">SendPlaystateCommand(String, String, PlaystateRequest, CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Sends the playstate command.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task SendPlaystateCommand(string controllingSessionId, string sessionId, PlaystateRequest command, CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">controllingSessionId</span></td>
        <td><p>The controlling session identifier.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">sessionId</span></td>
        <td><p>The session id.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="MediaBrowser.Model.Session.PlaystateRequest.html">PlaystateRequest</a></td>
        <td><span class="parametername">command</span></td>
        <td><p>The command.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td><p>The cancellation token.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td><p>Task.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_SendRestartRequiredNotification_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendRestartRequiredNotification*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_SendRestartRequiredNotification_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendRestartRequiredNotification(System.Threading.CancellationToken)">SendRestartRequiredNotification(CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Sends the restart required message.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task SendRestartRequiredNotification(CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td><p>The cancellation token.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td><p>Task.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_SendServerRestartNotification_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendServerRestartNotification*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_SendServerRestartNotification_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendServerRestartNotification(System.Threading.CancellationToken)">SendServerRestartNotification(CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Sends the server restart notification.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task SendServerRestartNotification(CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td><p>The cancellation token.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td><p>Task.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_SendServerShutdownNotification_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendServerShutdownNotification*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_SendServerShutdownNotification_System_Threading_CancellationToken_" data-uid="MediaBrowser.Controller.Session.ISessionManager.SendServerShutdownNotification(System.Threading.CancellationToken)">SendServerShutdownNotification(CancellationToken)</h4>
  <div class="markdown level1 summary"><p>Sends the server shutdown notification.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">Task SendServerShutdownNotification(CancellationToken cancellationToken)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></td>
        <td><span class="parametername">cancellationToken</span></td>
        <td><p>The cancellation token.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Threading.Tasks.Task</span></td>
        <td><p>Task.</p>
</td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="MediaBrowser_Controller_Session_ISessionManager_UpdateDeviceName_" data-uid="MediaBrowser.Controller.Session.ISessionManager.UpdateDeviceName*"></a>
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_UpdateDeviceName_System_String_System_String_" data-uid="MediaBrowser.Controller.Session.ISessionManager.UpdateDeviceName(System.String,System.String)">UpdateDeviceName(String, String)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void UpdateDeviceName(string sessionId, string reportedDeviceName)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">sessionId</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">String</a></td>
        <td><span class="parametername">reportedDeviceName</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
  </h3>
  
  
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_AuthenticationFailed" data-uid="MediaBrowser.Controller.Session.ISessionManager.AuthenticationFailed">AuthenticationFailed</h4>
  <div class="markdown level1 summary"><p>Occurs when [authentication failed].</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">event EventHandler&lt;GenericEventArgs&lt;AuthenticationRequest&gt;&gt; AuthenticationFailed</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="MediaBrowser.Model.Events.GenericEventArgs-1.html">GenericEventArgs</a>&lt;<a class="xref" href="MediaBrowser.Controller.Session.AuthenticationRequest.html">AuthenticationRequest</a>&gt;&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_AuthenticationSucceeded" data-uid="MediaBrowser.Controller.Session.ISessionManager.AuthenticationSucceeded">AuthenticationSucceeded</h4>
  <div class="markdown level1 summary"><p>Occurs when [authentication succeeded].</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">event EventHandler&lt;GenericEventArgs&lt;AuthenticationResult&gt;&gt; AuthenticationSucceeded</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="MediaBrowser.Model.Events.GenericEventArgs-1.html">GenericEventArgs</a>&lt;<a class="xref" href="MediaBrowser.Controller.Authentication.AuthenticationResult.html">AuthenticationResult</a>&gt;&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_CapabilitiesChanged" data-uid="MediaBrowser.Controller.Session.ISessionManager.CapabilitiesChanged">CapabilitiesChanged</h4>
  <div class="markdown level1 summary"><p>Occurs when [capabilities changed].</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">event EventHandler&lt;SessionEventArgs&gt; CapabilitiesChanged</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="MediaBrowser.Controller.Session.SessionEventArgs.html">SessionEventArgs</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_PlaybackProgress" data-uid="MediaBrowser.Controller.Session.ISessionManager.PlaybackProgress">PlaybackProgress</h4>
  <div class="markdown level1 summary"><p>Occurs when [playback progress].</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">event EventHandler&lt;PlaybackProgressEventArgs&gt; PlaybackProgress</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="MediaBrowser.Controller.Library.PlaybackProgressEventArgs.html">PlaybackProgressEventArgs</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_PlaybackStart" data-uid="MediaBrowser.Controller.Session.ISessionManager.PlaybackStart">PlaybackStart</h4>
  <div class="markdown level1 summary"><p>Occurs when [playback start].</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">event EventHandler&lt;PlaybackProgressEventArgs&gt; PlaybackStart</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="MediaBrowser.Controller.Library.PlaybackProgressEventArgs.html">PlaybackProgressEventArgs</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_PlaybackStopped" data-uid="MediaBrowser.Controller.Session.ISessionManager.PlaybackStopped">PlaybackStopped</h4>
  <div class="markdown level1 summary"><p>Occurs when [playback stopped].</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">event EventHandler&lt;PlaybackStopEventArgs&gt; PlaybackStopped</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="MediaBrowser.Controller.Library.PlaybackStopEventArgs.html">PlaybackStopEventArgs</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_RemoteControlDisconnected" data-uid="MediaBrowser.Controller.Session.ISessionManager.RemoteControlDisconnected">RemoteControlDisconnected</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">event EventHandler&lt;SessionEventArgs&gt; RemoteControlDisconnected</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="MediaBrowser.Controller.Session.SessionEventArgs.html">SessionEventArgs</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_SessionActivity" data-uid="MediaBrowser.Controller.Session.ISessionManager.SessionActivity">SessionActivity</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">event EventHandler&lt;SessionEventArgs&gt; SessionActivity</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="MediaBrowser.Controller.Session.SessionEventArgs.html">SessionEventArgs</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_SessionEnded" data-uid="MediaBrowser.Controller.Session.ISessionManager.SessionEnded">SessionEnded</h4>
  <div class="markdown level1 summary"><p>Occurs when [session ended].</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">event EventHandler&lt;SessionEventArgs&gt; SessionEnded</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="MediaBrowser.Controller.Session.SessionEventArgs.html">SessionEventArgs</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <h4 id="MediaBrowser_Controller_Session_ISessionManager_SessionStarted" data-uid="MediaBrowser.Controller.Session.ISessionManager.SessionStarted">SessionStarted</h4>
  <div class="markdown level1 summary"><p>Occurs when [session started].</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">event EventHandler&lt;SessionEventArgs&gt; SessionStarted</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="MediaBrowser.Controller.Session.SessionEventArgs.html">SessionEventArgs</a>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="Emby.Media.Common.Extensions.Extensions.html#Emby_Media_Common_Extensions_Extensions_JsonClone__1___0_MediaBrowser_Model_Serialization_IJsonSerializer_">Extensions.JsonClone&lt;T&gt;(T, IJsonSerializer)</a>
  </div>
</div>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                </ul>
              </div>
              <div class="sdkversion Release">
                  SDK <span class="sdkVersionSpan"></span>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>On this Page</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to Top</a>
            </span>
            Copyright 2022 © EMBY LLC.  Please see our <a class="lnk" href="https://emby.media/terms.html">terms of use</a> and <a class="lnk" href="https://emby.media/privacy.html">privacy policy</a>.
            
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../../searchIndex.js"></script>
    <script type="text/javascript" src="../../styles/lunr.min.js"></script>
    <script type="text/javascript" src="../../styles/docfx.js"></script>
    <script type="text/javascript" src="../../styles/main.js"></script>
  </body>
</html>
